function submit(){
	   //注册 没有进行失败定点提示
	   var user_uid=$("#user_uid").val();
	   var user_password=$("#user_password").val();
	   var user_name=$("#user_name").val();
	   var user_school_id=$("#user_school_id").val();
	   var user_qq=$("#user_qq").val();
	   var user_tel=$("#user_tel").val();
	   if(user_password.length<6){alert("密码长度应该大于6");return ;}
	   var formData=new FormData();
	   var file=$("#file").get(0).files[0];
	   formData.append("user_uid",user_uid);
	   formData.append("user_password",user_password);
	   formData.append("user_name",user_name);
	   formData.append("user_school_id",user_school_id);
	   formData.append("user_qq",user_qq);
	   formData.append("user_tel",user_tel);
	   
	   formData.append("file",file);
	   //只能formData一整块放进去 不然后端报错 无法识别上传图片部分
	   
	   $.ajax({
	   url:"manInsert_api",
	   method:"post",
	   data:formData,
	   dataType:"json",
	   async: false,
         cache: false,
         contentType: false,
         processData: false,
	   success:function(data){
	   if(data.status=="success")
	   alert("成功注册");
	   else if(data.status=="001")
	   alert("该用户已经注册");
	   else if(data.status=="002")
	   alert("数据库出错");  
	   else 
	   alert(data.status);
	   },
	   error:function(data)
	   { alert("no");}
	   });
	  }